﻿<Window x:Class="Client.Wpf.Layout"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Layout" Height="300" Width="300">
   
    <!--<StackPanel Orientation="Horizontal" >
       
        <Button>Button A</Button>
        
        <Button>Button B</Button>
        
        <Button>Button C</Button>
        
        <Button>Button D</Button>
       
        <Button>Button E</Button>
        
        <Button>Button F</Button>
        
    </StackPanel>-->

    <DockPanel >
      
        <Button Content="ButtonA" DockPanel.Dock="Top" />
       
        <Button Content="ButtonB" Width="70" HorizontalAlignment="Right" DockPanel.Dock="Top" />
        
        <Button Content="ButtonC" Margin="10" DockPanel.Dock="Top" />
       
        <Button Content="ButtonD" DockPanel.Dock="Left" />
      
        <Button Content="ButtonE" DockPanel.Dock="Right" />
        
        <Button Content="ButtonF" DockPanel.Dock="Bottom" />
      
        <Button Content="ButtonG" />
      
    </DockPanel>
 
</Window>
